import axios, { HttpResponse } from '@/api/interceptor';
import { LocaleData } from '@/api/locale/types';

export const uploadFile = async (data: any) => {
  const result = await axios({
    url: '/files/upload',
    method: 'POST',
    data,
  });
  return result.data;
};
